import request from '@/utils/request'

// 查询用户信息审核列表
export function listUserRecord(query) {
  return request({
    url: '/wq/userRecord/list',
    method: 'get',
    params: query
  })
}

// 查询用户信息审核详细
export function getUserRecord(userId) {
  return request({
    url: '/wq/userRecord/' + userId,
    method: 'get'
  })
}

// 新增用户信息审核
export function addUserRecord(data) {
  return request({
    url: '/wq/userRecord',
    method: 'post',
    data: data
  })
}

// 修改用户信息审核
export function updateUserRecord(data) {
  return request({
    url: '/wq/userRecord',
    method: 'put',
    data: data
  })
}

// 删除用户信息审核
export function delUserRecord(userId) {
  return request({
    url: '/wq/userRecord/' + userId,
    method: 'delete'
  })
}
